package specialist.specialist.lab_3_name;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
    private static BufferedReader reader;
    public static void main(String[] args) throws IOException{

        reader = new BufferedReader (new InputStreamReader(System.in));
        String name;
           do {
            System.out.printf("Введите свое имя:\n");
            name = reader.readLine();

        }         while (name.isEmpty());
            System.out.print("Привет "+ name + "!");




    }
}
